#include <iostream>

using namespace std;

void find(int * a, int f, int l);

int main(void)
{
	int a[6] = {1, 2, 3, 4, 5, 6};

	find(a, 5, 6);

	return 0;
}

void find(int * a, int f, int l)
{
	int i;
	int p = 0;
	for(i = 0; i < l; i ++)
	{
		if(a[i] == f)
		{
			p = 1;
			break;
		}
	}

	if(p == 1)
		cout << i + 1 << endl;
	else
		cout << "无" <<endl;
}
